package unamur.iodass.communication.messages;

import java.util.ArrayList;

public class LibraryRequest extends Message{

	private String query;
	private long isbn;
	private int minimum;
	private ArrayList<BookStore> bookStores;
	
	public LibraryRequest(String query) {
		this.query = query;
	}
	
	public LibraryRequest(String query, long isbn, int minimum, ArrayList<BookStore> bookStores) {
		this.query = query;
		this.isbn = isbn;
		this.minimum = minimum;
		this.bookStores = bookStores;
	}
	
	
	public String getQuery() {
		return query;
	}


	public long getIsbn() {
		return isbn;
	}


	public int getMinimum() {
		return minimum;
	}

	public ArrayList<BookStore> getBookStores() {
		return bookStores;
	}
	
}
